package property.pojo;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Admin {
    private Integer aId;

    private String aName;

    private String aUserName;

    private String aPassword;

    private String aGender;

    private Date aBirthdate;

    private String aPhone;

    private String aEmail;

    private String aIdCard;

    private Byte aPermission;

    private Date aEntryDate;

    public Integer getaId() {
        return aId;
    }

    public void setaId(Integer aId) {
        this.aId = aId;
    }

    public String getaName() {
        return aName;
    }

    public void setaName(String aName) {
        this.aName = aName == null ? null : aName.trim();
    }

    public String getaUserName() {
        return aUserName;
    }

    public void setaUserName(String aUserName) {
        this.aUserName = aUserName == null ? null : aUserName.trim();
    }

    public String getaPassword() {
        return aPassword;
    }

    public void setaPassword(String aPassword) {
        this.aPassword = aPassword == null ? null : aPassword.trim();
    }

    public String getaGender() {
        return aGender;
    }

    public void setaGender(String aGender) {
        this.aGender = aGender == null ? null : aGender.trim();
    }

    public Date getaBirthdate() {
        return aBirthdate;
    }

    public void setaBirthdate(Date aBirthdate) {
        this.aBirthdate = aBirthdate;
    }

    public String getaPhone() {
        return aPhone;
    }

    public void setaPhone(String aPhone) {
        this.aPhone = aPhone == null ? null : aPhone.trim();
    }

    public String getaEmail() {
        return aEmail;
    }

    public void setaEmail(String aEmail) {
        this.aEmail = aEmail == null ? null : aEmail.trim();
    }

    public String getaIdCard() {
        return aIdCard;
    }

    public void setaIdCard(String aIdCard) {
        this.aIdCard = aIdCard == null ? null : aIdCard.trim();
    }

    public Byte getaPermission() {
        return aPermission;
    }

    public void setaPermission(Byte aPermission) {
        this.aPermission = aPermission;
    }

    public Date getaEntryDate() {
        return aEntryDate;
    }

    public void setaEntryDate(Date aEntryDate) {
        this.aEntryDate = aEntryDate;
    }
}